#define _GNU_SOURCE
#include "app_device.h"
#include "app_mqtt.h"
#include "app_pool.h"
#include "app_bt.h"
#include "unistd.h"
#include "stdlib.h"

int main(int argc, char const *argv[])
{
    app_mqtt_init();
    app_pool_init(5);

    device_t *device = app_device_init("/home/ubuntu/gateway/test_dev_file");

    app_bt_init(device);
    app_device_start();
 

    sleep(10000);

    return 0;
}
